package com.erp.erp_servers.Blueprint;

import com.erp.erp_entitys.Blueprint.BlueprintContentFile;
import com.erp.erp_entitys.Blueprint.req.AddContentFileReq;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author zjk
 * @version 1.0
 * @description
 * @date 2021-09-26 0:00
 */
public interface IBlueprintContentFileService {
    int deleteByPrimaryKey(Integer id);

    int insert(BlueprintContentFile record);

    Boolean insertSelective(AddContentFileReq records) throws Exception;

    BlueprintContentFile selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BlueprintContentFile record);

    int updateByPrimaryKey(BlueprintContentFile record);

    /**
     * 根据主id，明细id 获取附件集合
     * @return
     */
    List<BlueprintContentFile> findContentFileByParam(Integer blueprintId, Integer detailId);
}
